package com.sghy.xcxservice.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 机构子账号表
 * @TableName bgb_org_user
 */
@TableName(value ="bgb_org_user")
@Data
public class BgbOrgUser implements Serializable {
    /**
     *
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * uid
     */
    @TableField(value = "u_id")
    private String uId;

    /**
     * 昵称
     */
    @TableField(value = "nick_name")
    private String nickName;

    /**
     * 子账号头像
     */
    @TableField(value = "head_ico")
    private String headIco;

    /**
     * 制图编号
     */
    @TableField(value = "drawing_number")
    private String drawingNumber;

    /**
     * 联系电话
     */
    @TableField(value = "phone")
    private String phone;

    /**
     * 使用者姓名
     */
    @TableField(value = "real_name")
    private String realName;

    /**
     * 0不是管理员1管理员
     */
    @TableField(value = "admin")
    private Integer admin;

    /**
     * 添加时间
     */
    @TableField(value = "created_time")
    private Date createdTime;

    /**
     * 部门id
     */
    @TableField(value = "group_id")
    private Integer groupId;

    /**
     * 0女1男
     */
    @TableField(value = "sex")
    private Integer sex;

    /**
     * 职务
     */
    @TableField(value = "job")
    private String job;

    /**
     * 直属上级，不知道有什么用，但是要有
     */
    @TableField(value = "higher_ups")
    private String higherUps;

    /**
     * 备注
     */
    @TableField(value = "notes")
    private String notes;

    /**
     * 身份信息
     */
    @TableField(value = "id_card")
    private String idCard;

    /**
     * 城市
     */
    @TableField(value = "city")
    private String city;

    /**
     * 生日
     */
    @TableField(value = "birthday")
    private Date birthday;

    /**
     * 邮件
     */
    @TableField(value = "email")
    private String email;

    /**
     * 地址
     */
    @TableField(value = "address")
    private String address;

    /**
     * 0不是管理员1管理员
     */
    @TableField(value = "group_admin")
    private Integer groupAdmin;

    /**
     * 手写签名地址
     */
    @TableField(value = "signature")
    private String signature;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}
